{HTMLHeader}
<script type="text/javascript" src="{domainPath}/javascript/jquery.galleriffic.js"></script>
<script type="text/javascript" src="{domainPath}/javascript/jquery.opacityrollover.js"></script>

<script type="text/javascript">
	document.write('<style>.noscript { display: none; }</style>');
</script>
<title>{GlobalTitle}</title>
</head>
<body>
<div id='container'>
  <!-- Start Of Header -->
	{Header}
  <!-- End Of Header -->
   <div id='mainbody'>
   		<!-- Start Advanced Gallery Html Containers -->
			<div id='body_left'>
				<div class='position'><img src='{domainPath}/images/point_11.gif'></img> {Location}: {MainPage}  > {NickName} > {ShowPic}</div>
				{noneNotice}
				<div id="thumbs" class="navigation" style='{displayStyle}'>
					<ul class="thumbs noscript">
				<!-- BEGIN optMenu -->
					<li>
							<a class="thumb" name="leaf" href="{picPath}" title="{picDesc}">
								<img src="{picPath_s}" alt="{picDesc}" width='75' height='75'/>
							</a>
							<div class="caption">
								<div class="image-desc">{picDesc}</div>
							</div>
						</li>
				<!-- END optMenu -->
				</ul>
			<div class='clear'></div>
				<div id="gallery" class="content">
					<div id="controls" class="controls"></div><div class='clear'></div>
					<div class="slideshow-container">
						<div id="loading" class="loader"></div>
						<div id="slideshow" class="slideshow"></div>
					</div>
					<div id="caption" class="caption-container"></div>
				</div>
			</div>
			

			 	<div class='clear'></div>
			</div>
			
			<!-- Start Of BodyRight -->
   			<div id='body_right'>
   				<div id='notice'>
   					<div id='title_bar'><h1>{BusInfo}</h1></div>
   					<table cellspacing='15'>
   						<tr><td><h2>{NickName}</h2></td></tr>
   						<tr><td align='left' >{Address}: {BusAddress}  </td></tr>
   						<tr><td align='left' >{Tel}: {BusTel} </td></tr>
   						<tr><td align='left'>{Email}: {BusMail}</td></tr>
   						<tr><td align='left'>{Website}: {BusWeb}</td></tr>
   						<tr><td align='left'>Fax: {BusFax}</td></tr>
   					</table>
   				</div>
   				
   				<div id='related'>
   				<div id='title_bar'><h1>{Interesting}</h1></div>
   				<!-- BEGIN optContent -->
   				<table cellspacing='5'>
   					<tr><td rowspan='2'><div class='photo'><a href='{domainPath}/viewinfo/{busTemId}/'><img src='{busFace}' width='50' height='50'></img></a></div></td><td width='80%'><h3>{busName}</h3></td></tr>
   					<tr><td>{BrowseTimes} : {busHit}</td></tr>
   				</table>
   				<!-- END optContent -->
   			</div>
   			</div>
   			<!-- End Of BodyRight -->
	</div>
	   
   	<div class='clear'></div>
   	
</div>
{footer}
</body>
</html>
<script type="text/javascript">
			jQuery(document).ready(function($) {
				// We only want these styles applied when javascript is enabled
				//$('div.navigation').css({'width' : '300px', 'float' : 'left'});
				$('div.content').css('display', 'block');

				// Initially set opacity on thumbs and add
				// additional styling for hover effect on thumbs
				var onMouseOutOpacity = 0.67;
				$('#thumbs ul.thumbs li').opacityrollover({
					mouseOutOpacity:   onMouseOutOpacity,
					mouseOverOpacity:  1.0,
					fadeSpeed:         'fast',
					exemptionSelector: '.selected'
				});
				
				// Initialize Advanced Galleriffic Gallery
				var gallery = $('#thumbs').galleriffic({
					delay:                     2500,
					numThumbs:                 7,
					preloadAhead:              10,
					enableTopPager:            true,
					enableBottomPager:         true,
					maxPagesToShow:            7,
					imageContainerSel:         '#slideshow',
					controlsContainerSel:      '#controls',
					captionContainerSel:       '#caption',
					loadingContainerSel:       '#loading',
					renderSSControls:          true,
					renderNavControls:         true,
					playLinkText:              "<img src='{domainPath}/images/play.png' width='16' height='19'>",
					pauseLinkText:             "<img src='{domainPath}/images/pause.png' width='16' height='19'>",
					prevLinkText:              "<img src='{domainPath}/images/prevPageArrow.gif'>",
					nextLinkText:              "<img src='{domainPath}/images/nextPageArrow.gif'>",
					nextPageLinkText:          'Next &rsaquo;',
					prevPageLinkText:          '&lsaquo; Prev',
					enableHistory:             false,
					autoStart:                 false,
					syncTransitions:           true,
					defaultTransitionDuration: 900,
					onSlideChange:             function(prevIndex, nextIndex) {
						// 'this' refers to the gallery, which is an extension of $('#thumbs')
						this.find('ul.thumbs').children()
							.eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
							.eq(nextIndex).fadeTo('fast', 1.0);
					},
					onPageTransitionOut:       function(callback) {
						this.fadeTo('fast', 0.0, callback);
					},
					onPageTransitionIn:        function() {
						this.fadeTo('fast', 1.0);
					}
				});
			});
		</script>